{include file="kuyou/common/menu" /}
<div class="panel panel-default panel-intro chosegoods choselist">
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <button type="button" id="upload" class="btn btn-danger btn-embossed {if condition="$auth->check('kuyou/enclosure/add')!=1"}hiddens{/if}" lay-event="sure"><i class="fa fa-upload dz-message"></i>{:__('upload')}</button>
                <div class="hidden"><form id="add_form"><input type="file" id="file"><input type="text" name="row[image]" id="fileUrl"></form></div>
                <table id="choseTable" class="table table-striped table-bordered table-hover table-nowrap"
                       width="100%" lay-filter="table">
                </table>
                <script type="text/html" id="btnToolbar">
                    <div class="layui-btn-container" style="text-align: right">
                        <button class="layui-btn layui-icon-btn layui-btn-sm layui-bg-cyan btn-refresh hidden" lay-event="refresh"></button>
                        <button type="button" id="sure" class="btn btn-success btn-embossed" lay-event="sure">{:__('Ok')}</button>
                        <button type="button" id="cancel" class="btn btn-default btn-embossed">{:__('cancel')}</button>
                    </div>
                </script>
            </div>
        </div>
    </div>
</div>
